const initialState = { searchList: [] }
export default function searchReducer(state = initialState, active) {
  switch (active.type) {
    case "GET_SEARCH":
      return {
        ...state,
        searchList: active.payload
      }
    default:
      return state
  }
}
